package ch1;

import java.util.Scanner;

public class Zuoye03076 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.println("请输入三个数");
        double a=scan.nextDouble();
        double b=scan.nextDouble();
        double c=scan.nextDouble();
        if(a>c&&a>b) {
            if (b>c) {
                System.out.println(a + "," + b + "," + c);
            }else {
                System.out.println(a + "," + c + "," + b);
            }
        }else if (b>a&&b>c){
            if (a>c) {
                System.out.println(b + "," + a + "," + c);
            }else {
                System.out.println(b + "," + c + "," + a);
            }
        }else {
            if (a>b){
                System.out.println(c + "," + a + "," + b);
            }else {
                System.out.println(c + "," + b + "," + a);
            }
        }
    }
}
